

<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="python" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="python" > <!--<![endif]-->
<head>
  <meta charset="utf-8">
  
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  
  <title>QUANTAXIS.QAEngine package &mdash; QUANTAXIS 1.0.39 documentation</title>
  

  
  
  
  

  

  
  
    

  

  
    <link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
  <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" /> 

  
  <script src="../_static/js/modernizr.min.js"></script>

</head>

<body class="wy-body-for-nav">

   
  <div class="wy-grid-for-nav">

    
    <nav data-toggle="wy-nav-shift" class="wy-nav-side">
      <div class="wy-side-scroll">
        <div class="wy-side-nav-search">
          

          
            <a href="../index.html" class="icon icon-home"> QUANTAXIS
          

          
          </a>

          
            
            
              <div class="version">
                1.0.39
              </div>
            
          

          
<div role="search">
  <form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
    <input type="text" name="q" placeholder="Search docs" />
    <input type="hidden" name="check_keywords" value="yes" />
    <input type="hidden" name="area" value="default" />
  </form>
</div>

          
        </div>

        <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
          
            
            
              
            
            
              <!-- Local TOC -->
              <div class="local-toc"><ul>
<li><a class="reference internal" href="#">QUANTAXIS.QAEngine package</a><ul>
<li><a class="reference internal" href="#submodules">Submodules</a></li>
<li><a class="reference internal" href="#module-QUANTAXIS.QAEngine.QAEvent">QUANTAXIS.QAEngine.QAEvent module</a></li>
<li><a class="reference internal" href="#module-QUANTAXIS.QAEngine.QATask">QUANTAXIS.QAEngine.QATask module</a></li>
<li><a class="reference internal" href="#module-QUANTAXIS.QAEngine.QAThreadEngine">QUANTAXIS.QAEngine.QAThreadEngine module</a></li>
<li><a class="reference internal" href="#module-QUANTAXIS.QAEngine">Module contents</a></li>
</ul>
</li>
</ul>
</div>
            
          
        </div>
      </div>
    </nav>

    <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">

      
      <nav class="wy-nav-top" aria-label="top navigation">
        
          <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
          <a href="../index.html">QUANTAXIS</a>
        
      </nav>


      <div class="wy-nav-content">
        
        <div class="rst-content">
        
          















<div role="navigation" aria-label="breadcrumbs navigation">

  <ul class="wy-breadcrumbs">
    
      <li><a href="../index.html">Docs</a> &raquo;</li>
        
      <li>QUANTAXIS.QAEngine package</li>
    
    
      <li class="wy-breadcrumbs-aside">
        
            
            <a href="../_sources/source/QUANTAXIS.QAEngine.rst.txt" rel="nofollow"> View page source</a>
          
        
      </li>
    
  </ul>

  
  <hr/>
</div>
          <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
           <div itemprop="articleBody">
            
  <div class="section" id="quantaxis-qaengine-package">
<h1>QUANTAXIS.QAEngine package<a class="headerlink" href="#quantaxis-qaengine-package" title="Permalink to this headline">¶</a></h1>
<div class="section" id="submodules">
<h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this headline">¶</a></h2>
</div>
<div class="section" id="module-QUANTAXIS.QAEngine.QAEvent">
<span id="quantaxis-qaengine-qaevent-module"></span><h2>QUANTAXIS.QAEngine.QAEvent module<a class="headerlink" href="#module-QUANTAXIS.QAEngine.QAEvent" title="Permalink to this headline">¶</a></h2>
<dl class="class">
<dt id="QUANTAXIS.QAEngine.QAEvent.QA_Event">
<em class="property">class </em><code class="descclassname">QUANTAXIS.QAEngine.QAEvent.</code><code class="descname">QA_Event</code><span class="sig-paren">(</span><em>event_type=None</em>, <em>func=None</em>, <em>message=None</em>, <em>callback=False</em>, <em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/QUANTAXIS/QAEngine/QAEvent.html#QA_Event"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#QUANTAXIS.QAEngine.QAEvent.QA_Event" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/3/library/functions.html#object" title="(in Python v3.6)"><code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></a></p>
<p>QA_Event 事件</p>
</dd></dl>

<dl class="class">
<dt id="QUANTAXIS.QAEngine.QAEvent.QA_Worker">
<em class="property">class </em><code class="descclassname">QUANTAXIS.QAEngine.QAEvent.</code><code class="descname">QA_Worker</code><a class="reference internal" href="../_modules/QUANTAXIS/QAEngine/QAEvent.html#QA_Worker"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#QUANTAXIS.QAEngine.QAEvent.QA_Worker" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/3/library/functions.html#object" title="(in Python v3.6)"><code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></a></p>
<p>JOB是worker 需要接受QA_EVENT 需要完善RUN方法
👻QA_Broker 继承这个类
👻QA_Account 继承这个类
👻QA_OrderHandler 继承这个类
这些类都要实现run方法✅，在其它线程🌀中允许自己的业务代码</p>
<dl class="method">
<dt id="QUANTAXIS.QAEngine.QAEvent.QA_Worker.run">
<code class="descname">run</code><span class="sig-paren">(</span><em>event</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/QUANTAXIS/QAEngine/QAEvent.html#QA_Worker.run"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#QUANTAXIS.QAEngine.QAEvent.QA_Worker.run" title="Permalink to this definition">¶</a></dt>
<dd><p>QA_Work是一个抽象类， 继承这个类，需要实现具体的run方法✅， 在其它线程🌀中执行
:param event: QA_Event 类型
:return: None</p>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="module-QUANTAXIS.QAEngine.QATask">
<span id="quantaxis-qaengine-qatask-module"></span><h2>QUANTAXIS.QAEngine.QATask module<a class="headerlink" href="#module-QUANTAXIS.QAEngine.QATask" title="Permalink to this headline">¶</a></h2>
<dl class="class">
<dt id="QUANTAXIS.QAEngine.QATask.QA_Task">
<em class="property">class </em><code class="descclassname">QUANTAXIS.QAEngine.QATask.</code><code class="descname">QA_Task</code><span class="sig-paren">(</span><em>worker</em>, <em>event</em>, <em>engine=None</em>, <em>callback=False</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/QUANTAXIS/QAEngine/QATask.html#QA_Task"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#QUANTAXIS.QAEngine.QATask.QA_Task" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/3/library/functions.html#object" title="(in Python v3.6)"><code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></a></p>
<dl class="method">
<dt id="QUANTAXIS.QAEngine.QATask.QA_Task.do">
<code class="descname">do</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/QUANTAXIS/QAEngine/QATask.html#QA_Task.do"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#QUANTAXIS.QAEngine.QATask.QA_Task.do" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="QUANTAXIS.QAEngine.QATask.QA_Task.result">
<code class="descname">result</code><a class="headerlink" href="#QUANTAXIS.QAEngine.QATask.QA_Task.result" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

</div>
<div class="section" id="module-QUANTAXIS.QAEngine.QAThreadEngine">
<span id="quantaxis-qaengine-qathreadengine-module"></span><h2>QUANTAXIS.QAEngine.QAThreadEngine module<a class="headerlink" href="#module-QUANTAXIS.QAEngine.QAThreadEngine" title="Permalink to this headline">¶</a></h2>
<dl class="class">
<dt id="QUANTAXIS.QAEngine.QAThreadEngine.QA_Engine">
<em class="property">class </em><code class="descclassname">QUANTAXIS.QAEngine.QAThreadEngine.</code><code class="descname">QA_Engine</code><span class="sig-paren">(</span><em>queue=None</em>, <em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/QUANTAXIS/QAEngine/QAThreadEngine.html#QA_Engine"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#QUANTAXIS.QAEngine.QAThreadEngine.QA_Engine" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#QUANTAXIS.QAEngine.QAThreadEngine.QA_Thread" title="QUANTAXIS.QAEngine.QAThreadEngine.QA_Thread"><code class="xref py py-class docutils literal notranslate"><span class="pre">QUANTAXIS.QAEngine.QAThreadEngine.QA_Thread</span></code></a></p>
<p>QA_Thread的区别是，
QA_Thread 只是单纯一个线程，里面有个队列执行 QA_Task 的do 方法</p>
<p>QA_Engine 有 kernels_dict词典，可以指定 {名字：QA_Thread}，
QA_Engine自己有一个线程可以 遍历kernels_dict中QA_Thread 中的多个线程去执行</p>
<p>kernel 已更正(之前误写成kernal) &#64;2018/05/28</p>
<dl class="method">
<dt id="QUANTAXIS.QAEngine.QAThreadEngine.QA_Engine.clear">
<code class="descname">clear</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/QUANTAXIS/QAEngine/QAThreadEngine.html#QA_Engine.clear"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#QUANTAXIS.QAEngine.QAThreadEngine.QA_Engine.clear" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="QUANTAXIS.QAEngine.QAThreadEngine.QA_Engine.create_kernel">
<code class="descname">create_kernel</code><span class="sig-paren">(</span><em>name</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/QUANTAXIS/QAEngine/QAThreadEngine.html#QA_Engine.create_kernel"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#QUANTAXIS.QAEngine.QAThreadEngine.QA_Engine.create_kernel" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="QUANTAXIS.QAEngine.QAThreadEngine.QA_Engine.join">
<code class="descname">join</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/QUANTAXIS/QAEngine/QAThreadEngine.html#QA_Engine.join"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#QUANTAXIS.QAEngine.QAThreadEngine.QA_Engine.join" title="Permalink to this definition">¶</a></dt>
<dd><p>Wait until the thread terminates.</p>
<p>This blocks the calling thread until the thread whose join() method is
called terminates -- either normally or through an unhandled exception
or until the optional timeout occurs.</p>
<p>When the timeout argument is present and not None, it should be a
floating point number specifying a timeout for the operation in seconds
(or fractions thereof). As join() always returns None, you must call
isAlive() after join() to decide whether a timeout happened -- if the
thread is still alive, the join() call timed out.</p>
<p>When the timeout argument is not present or None, the operation will
block until the thread terminates.</p>
<p>A thread can be join()ed many times.</p>
<p>join() raises a RuntimeError if an attempt is made to join the current
thread as that would cause a deadlock. It is also an error to join() a
thread before it has been started and attempts to do so raises the same
exception.</p>
</dd></dl>

<dl class="attribute">
<dt id="QUANTAXIS.QAEngine.QAThreadEngine.QA_Engine.kernel_num">
<code class="descname">kernel_num</code><a class="headerlink" href="#QUANTAXIS.QAEngine.QAThreadEngine.QA_Engine.kernel_num" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="QUANTAXIS.QAEngine.QAThreadEngine.QA_Engine.pause">
<code class="descname">pause</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/QUANTAXIS/QAEngine/QAThreadEngine.html#QA_Engine.pause"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#QUANTAXIS.QAEngine.QAThreadEngine.QA_Engine.pause" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="QUANTAXIS.QAEngine.QAThreadEngine.QA_Engine.register_kernel">
<code class="descname">register_kernel</code><span class="sig-paren">(</span><em>name</em>, <em>kernel</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/QUANTAXIS/QAEngine/QAThreadEngine.html#QA_Engine.register_kernel"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#QUANTAXIS.QAEngine.QAThreadEngine.QA_Engine.register_kernel" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="QUANTAXIS.QAEngine.QAThreadEngine.QA_Engine.resume">
<code class="descname">resume</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/QUANTAXIS/QAEngine/QAThreadEngine.html#QA_Engine.resume"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#QUANTAXIS.QAEngine.QAThreadEngine.QA_Engine.resume" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="QUANTAXIS.QAEngine.QAThreadEngine.QA_Engine.run">
<code class="descname">run</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/QUANTAXIS/QAEngine/QAThreadEngine.html#QA_Engine.run"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#QUANTAXIS.QAEngine.QAThreadEngine.QA_Engine.run" title="Permalink to this definition">¶</a></dt>
<dd><p>Method representing the thread's activity.</p>
<p>You may override this method in a subclass. The standard run() method
invokes the callable object passed to the object's constructor as the
target argument, if any, with sequential and keyword arguments taken
from the args and kwargs arguments, respectively.</p>
</dd></dl>

<dl class="method">
<dt id="QUANTAXIS.QAEngine.QAThreadEngine.QA_Engine.run_job">
<code class="descname">run_job</code><span class="sig-paren">(</span><em>task</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/QUANTAXIS/QAEngine/QAThreadEngine.html#QA_Engine.run_job"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#QUANTAXIS.QAEngine.QAThreadEngine.QA_Engine.run_job" title="Permalink to this definition">¶</a></dt>
<dd><p>把QA_Task 放到 kerneals_dict 词典中的task.engine 名字， 对应的 QA_Thread中的队列中，
:param task:  type str 字符串
:return: None</p>
</dd></dl>

<dl class="method">
<dt id="QUANTAXIS.QAEngine.QAThreadEngine.QA_Engine.start_kernel">
<code class="descname">start_kernel</code><span class="sig-paren">(</span><em>name</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/QUANTAXIS/QAEngine/QAThreadEngine.html#QA_Engine.start_kernel"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#QUANTAXIS.QAEngine.QAThreadEngine.QA_Engine.start_kernel" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="QUANTAXIS.QAEngine.QAThreadEngine.QA_Engine.stop">
<code class="descname">stop</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/QUANTAXIS/QAEngine/QAThreadEngine.html#QA_Engine.stop"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#QUANTAXIS.QAEngine.QAThreadEngine.QA_Engine.stop" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="QUANTAXIS.QAEngine.QAThreadEngine.QA_Engine.stop_all">
<code class="descname">stop_all</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/QUANTAXIS/QAEngine/QAThreadEngine.html#QA_Engine.stop_all"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#QUANTAXIS.QAEngine.QAThreadEngine.QA_Engine.stop_all" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="QUANTAXIS.QAEngine.QAThreadEngine.QA_Engine.stop_kernel">
<code class="descname">stop_kernel</code><span class="sig-paren">(</span><em>name</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/QUANTAXIS/QAEngine/QAThreadEngine.html#QA_Engine.stop_kernel"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#QUANTAXIS.QAEngine.QAThreadEngine.QA_Engine.stop_kernel" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="QUANTAXIS.QAEngine.QAThreadEngine.QA_Thread">
<em class="property">class </em><code class="descclassname">QUANTAXIS.QAEngine.QAThreadEngine.</code><code class="descname">QA_Thread</code><span class="sig-paren">(</span><em>queue=None</em>, <em>name=None</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/QUANTAXIS/QAEngine/QAThreadEngine.html#QA_Thread"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#QUANTAXIS.QAEngine.QAThreadEngine.QA_Thread" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/3/library/threading.html#threading.Thread" title="(in Python v3.6)"><code class="xref py py-class docutils literal notranslate"><span class="pre">threading.Thread</span></code></a></p>
<p>'这是一个随意新建线程的生产者消费者模型'
其实有个队列， 队列中保存的是 QA_Task 对象 ， callback 很重要，指定任务的时候可以绑定 函数执行
QA_Engine 继承这个类。</p>
<dl class="method">
<dt id="QUANTAXIS.QAEngine.QAThreadEngine.QA_Thread.get">
<code class="descname">get</code><span class="sig-paren">(</span><em>task</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/QUANTAXIS/QAEngine/QAThreadEngine.html#QA_Thread.get"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#QUANTAXIS.QAEngine.QAThreadEngine.QA_Thread.get" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="QUANTAXIS.QAEngine.QAThreadEngine.QA_Thread.get_nowait">
<code class="descname">get_nowait</code><span class="sig-paren">(</span><em>task</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/QUANTAXIS/QAEngine/QAThreadEngine.html#QA_Thread.get_nowait"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#QUANTAXIS.QAEngine.QAThreadEngine.QA_Thread.get_nowait" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="QUANTAXIS.QAEngine.QAThreadEngine.QA_Thread.pause">
<code class="descname">pause</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/QUANTAXIS/QAEngine/QAThreadEngine.html#QA_Thread.pause"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#QUANTAXIS.QAEngine.QAThreadEngine.QA_Thread.pause" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="QUANTAXIS.QAEngine.QAThreadEngine.QA_Thread.put">
<code class="descname">put</code><span class="sig-paren">(</span><em>task</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/QUANTAXIS/QAEngine/QAThreadEngine.html#QA_Thread.put"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#QUANTAXIS.QAEngine.QAThreadEngine.QA_Thread.put" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="QUANTAXIS.QAEngine.QAThreadEngine.QA_Thread.put_nowait">
<code class="descname">put_nowait</code><span class="sig-paren">(</span><em>task</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/QUANTAXIS/QAEngine/QAThreadEngine.html#QA_Thread.put_nowait"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#QUANTAXIS.QAEngine.QAThreadEngine.QA_Thread.put_nowait" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="QUANTAXIS.QAEngine.QAThreadEngine.QA_Thread.qsize">
<code class="descname">qsize</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/QUANTAXIS/QAEngine/QAThreadEngine.html#QA_Thread.qsize"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#QUANTAXIS.QAEngine.QAThreadEngine.QA_Thread.qsize" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="QUANTAXIS.QAEngine.QAThreadEngine.QA_Thread.resume">
<code class="descname">resume</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/QUANTAXIS/QAEngine/QAThreadEngine.html#QA_Thread.resume"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#QUANTAXIS.QAEngine.QAThreadEngine.QA_Thread.resume" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="QUANTAXIS.QAEngine.QAThreadEngine.QA_Thread.run">
<code class="descname">run</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/QUANTAXIS/QAEngine/QAThreadEngine.html#QA_Thread.run"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#QUANTAXIS.QAEngine.QAThreadEngine.QA_Thread.run" title="Permalink to this definition">¶</a></dt>
<dd><p>Method representing the thread's activity.</p>
<p>You may override this method in a subclass. The standard run() method
invokes the callable object passed to the object's constructor as the
target argument, if any, with sequential and keyword arguments taken
from the args and kwargs arguments, respectively.</p>
</dd></dl>

<dl class="method">
<dt id="QUANTAXIS.QAEngine.QAThreadEngine.QA_Thread.stop">
<code class="descname">stop</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/QUANTAXIS/QAEngine/QAThreadEngine.html#QA_Thread.stop"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#QUANTAXIS.QAEngine.QAThreadEngine.QA_Thread.stop" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

</div>
<div class="section" id="module-QUANTAXIS.QAEngine">
<span id="module-contents"></span><h2>Module contents<a class="headerlink" href="#module-QUANTAXIS.QAEngine" title="Permalink to this headline">¶</a></h2>
</div>
</div>


           </div>
           
          </div>
          <footer>
  

  <hr/>

  <div role="contentinfo">
    <p>
        &copy; Copyright 2018, yutiansut.

    </p>
  </div>
  Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/rtfd/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>. 

</footer>

        </div>
      </div>

    </section>

  </div>
  


  

    <script type="text/javascript">
        var DOCUMENTATION_OPTIONS = {
            URL_ROOT:'../',
            VERSION:'1.0.39',
            LANGUAGE:'python',
            COLLAPSE_INDEX:false,
            FILE_SUFFIX:'.html',
            HAS_SOURCE:  true,
            SOURCELINK_SUFFIX: '.txt'
        };
    </script>
      <script type="text/javascript" src="../_static/jquery.js"></script>
      <script type="text/javascript" src="../_static/underscore.js"></script>
      <script type="text/javascript" src="../_static/doctools.js"></script>
      <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>

  

  
  
    <script type="text/javascript" src="../_static/js/theme.js"></script>
  

  <script type="text/javascript">
      jQuery(function () {
          SphinxRtdTheme.Navigation.enable(true);
      });
  </script> 

</body>
</html>